package cn.kgm.user.dto.dto;

import cn.kgm.core.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;

/**
 * # 技术改变自己 #
 * 用户设备IP绑定关系
 * @author kappi
 * @date   2024-04-08 13:28:48
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@ApiModel(value = "UserEquipmentIpUpdateDTO", description = "用户设备IP绑定关系")
public class UserEquipmentIpUpdateDTO extends Entity<Long> {

    /**
     * 设备表的ID索引
     */
    @ApiModelProperty(value = "设备表的ID索引", position = 2)
    @NotNull(message = "设备表的ID索引不能为空")
    private Long eqptId;

    /**
     * IP表的ID索引
     */
    @ApiModelProperty(value = "IP表的ID索引", position = 3)
    @NotNull(message = "IP表的ID索引不能为空")
    private Long ipId;

}
